Optimal. Leaf size=90 \[ -\frac {i (a+i a \tan (e+f x))^{3/2}}{15 c f (c-i c \tan (e+f x))^{3/2}}-\frac {i (a+i a \tan (e+f x))^{3/2}}{5 f (c-i c \tan (e+f x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {3523, 45, 37} \[ -\frac {i (a+i a \tan (e+f x))^{3/2}}{15 c f (c-i c \tan (e+f x))^{3/2}}-\frac {i (a+i a \tan (e+f x))^{3/2}}{5 f (c-i c \tan (e+f x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 45
Rule 3523
Rubi steps
\begin {align*} \int \frac {(a+i a \tan (e+f x))^{3/2}}{(c-i c \tan (e+f x))^{5/2}} \, dx &=\frac {(a c) \operatorname {Subst}\left (\int \frac {\sqrt {a+i a x}}{(c-i c x)^{7/2}} \, dx,x,\tan (e+f x)\right )}{f}\\ &=-\frac {i (a+i a \tan (e+f x))^{3/2}}{5 f (c-i c \tan (e+f x))^{5/2}}+\frac {a \operatorname {Subst}\left (\int \frac {\sqrt {a+i a x}}{(c-i c x)^{5/2}} \, dx,x,\tan (e+f x)\right )}{5 f}\\ &=-\frac {i (a+i a \tan (e+f x))^{3/2}}{5 f (c-i c \tan (e+f x))^{5/2}}-\frac {i (a+i a \tan (e+f x))^{3/2}}{15 c f (c-i c \tan (e+f x))^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 4.51, size = 106, normalized size = 1.18 \[ \frac {a \cos (e+f x) (\cos (f x)-i \sin (f x)) \sqrt {a+i a \tan (e+f x)} \sqrt {c-i c \tan (e+f x)} (4 \cos (e+f x)-i \sin (e+f x)) (\sin (4 e+5 f x)-i \cos (4 e+5 f x))}{15 c^3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 79, normalized size = 0.88 \[ \frac {{\left (-3 i \, a e^{\left (7 i \, f x + 7 i \, e\right )} - 8 i \, a e^{\left (5 i \, f x + 5 i \, e\right )} - 5 i \, a e^{\left (3 i \, f x + 3 i \, e\right )}\right )} \sqrt {\frac {a}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}} \sqrt {\frac {c}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}}}{30 \, c^{3} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (i \, a \tan \left (f x + e\right ) + a\right )}^{\frac {3}{2}}}{{\left (-i \, c \tan \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.22, size = 71, normalized size = 0.79 \[ -\frac {\sqrt {a \left (1+i \tan \left (f x +e \right )\right )}\, \sqrt {-c \left (-1+i \tan \left (f x +e \right )\right )}\, a \left (1+\tan ^{2}\left (f x +e \right )\right ) \left (4 i+\tan \left (f x +e \right )\right )}{15 f \,c^{3} \left (\tan \left (f x +e \right )+i\right )^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.54, size = 112, normalized size = 1.24 \[ \frac {{\left (-3 i \, a \cos \left (\frac {5}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) - 5 i \, a \cos \left (\frac {3}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 3 \, a \sin \left (\frac {5}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right ) + 5 \, a \sin \left (\frac {3}{2} \, \arctan \left (\sin \left (2 \, f x + 2 \, e\right ), \cos \left (2 \, f x + 2 \, e\right )\right )\right )\right )} \sqrt {a}}{30 \, c^{\frac {5}{2}} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.47, size = 136, normalized size = 1.51 \[ -\frac {a\,\sqrt {\frac {a\,\left (\cos \left (2\,e+2\,f\,x\right )+1+\sin \left (2\,e+2\,f\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,e+2\,f\,x\right )+1}}\,\left (-5\,\sin \left (2\,e+2\,f\,x\right )-3\,\sin \left (4\,e+4\,f\,x\right )+\cos \left (2\,e+2\,f\,x\right )\,5{}\mathrm {i}+\cos \left (4\,e+4\,f\,x\right )\,3{}\mathrm {i}\right )}{30\,c^2\,f\,\sqrt {\frac {c\,\left (\cos \left (2\,e+2\,f\,x\right )+1-\sin \left (2\,e+2\,f\,x\right )\,1{}\mathrm {i}\right )}{\cos \left (2\,e+2\,f\,x\right )+1}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (i a \left (\tan {\left (e + f x \right )} - i\right )\right )^{\frac {3}{2}}}{\left (- i c \left (\tan {\left (e + f x \right )} + i\right )\right )^{\frac {5}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________